<!--
 * 作者：zhang
 * 时间：2024/7/21 下午7:36
 * 功能：
 *
-->
<script setup lang="ts">


</script>

<template>
  <div class="app-header">
    <div class="logo">
<!--      <img src="/logo.png" alt="logo">-->
      <span>Bilibili</span>

    </div>
    <div class="menu">
      <router-link to="/home">首页</router-link>
      <router-link to="/search">搜索</router-link>
      <router-link to="/mine">我的</router-link>
    </div>
  </div>
</template>

<style scoped>
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  background-color: #304156;
  color: #fff;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.menu a {
  color: #fff;
  margin-right: 20px;
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background-color: #4c6180;
}

</style>
